﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/base/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("head", required: false)
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink("NSK", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })

            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    @*<li>@Html.ActionLink("Home", "Index", "Home")</li>*@
                    <li>@Html.ActionLink("Your cart", "Inspect", "Cart", new { area = "" }, new { })</li>
                    <li>@Html.ActionLink("About", "About", "Home", new { area = "" }, new { })</li>
                    <li>@Html.ActionLink("Contact", "Contact", "Home", new { area = "" }, new { })</li>
                </ul>

                @Html.Partial("_LoginPartial")
            </div>
            <div class="row">
                <form class="navbar-form navbar-left" role="search" method="post" action="/Catalog/Search">
                    <select class="form-control" data-val="true" id="SelectedCategoryId" name="SelectedCategoryId">
                        <option selected="selected" value="0">All Categories</option>
                        <option value="1">Beverages</option>
                        <option value="2">Condiments</option>
                        <option value="3">Confections</option>
                        <option value="4">Dairy Products</option>
                        <option value="5">Grains/Cereals</option>
                        <option value="6">Meat/Poultry</option>
                        <option value="7">Produce</option>
                        <option value="8">Seafood</option>
                    </select>
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search" id="query" name="query" data-val="true" data-val-required="*">
                        <span class="input-group-btn">
                            <button type="submit" class="btn btn-default">
                                <span class="glyphicon glyphicon-search"></span>
                            </button>
                        </span>
                    </div>
                </form>
            </div>

        </div>
    </div>
    <div class="container body-content" style="padding-top: 50px">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - Northwind Starter Kit</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
    <script type="text/javascript" src="~/Scripts/nsk/search.js"></script>
</body>
</html>
